We copy the object text which contains OLE to a buffer and then to an temporary attribute which we operate on during the assembling process. After assembling is complete, we copy from the temporary attribute back into a buffer. Then we copy from the original object text to a different buffer.
Then we compare two buffers. If the buffers are different, we copy from temporary attribute buffer to object text.
Without making any changes to the data in the buffer and in the temporary attribute during the assembling process, the width and the height for the OLE got changed. Do you have any idea why this could happen.
Please see the atttached file the difference in red color.
Thanks,
Faisal Zahidi
faisal.zahidi@boeing.com - Tue Aug 04 18:11:48 EDT 2009 |